package com.example.service;

import java.util.List;

import com.example.common.base.service.BaseService;
import com.example.common.utils.ApiResult;
import com.example.model.entity.SuppliesType;
import com.example.model.query.SuppliesTypeQuery;
import com.example.model.vo.SuppliesTypeVo;


public interface SuppliesTypeService extends BaseService<SuppliesType> {

	/**
	 * 用户信息分页查询
	 *
	 * @param query
	 * @return
	 */
	ApiResult<SuppliesTypeQuery> pageUserVoByQuery(SuppliesTypeQuery query) throws Exception;

	/**
	 * 添加
	 *
	 * @return
	 */
	ApiResult<Boolean> saveAd(SuppliesTypeVo suppliesTypeVo) throws Exception;

	/**
	 * cha
	 *
	 * @return
	 */
	ApiResult<SuppliesTypeVo> getInfo(String id) throws Exception;
	
	/**
	 * 时间+序列
	 */
	public Long seqAlways() ;

	ApiResult<Boolean> update(SuppliesTypeVo suppliesTypeVo) throws Exception;

	ApiResult<Boolean> del(String id) throws Exception;

	String getInfoBySuppliesId(String id) throws Exception;

}
